
       <!DOCTYPE html>
    <html lang="en">
    <head>
        <meta charset="utf-8">
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <meta http-equiv="x-ua-compatible" content="ie=edge">
        <title>A Journey of Speed: Exploring the World of MotoGP - OnlineX</title>
        <meta content="MotoGP, as the world’s premier motorcycle racing event, traces its history back to 1949. It was established by the Fédération Internationale de Motocyclisme (FIM) to provide a competitive platform for the world’s best motorcycle racers." name="keywords">
        <meta content="MotoGP, as the world’s premier motorcycle racing event, traces its history back to 1949. It was established by the Fédération Internationale de Motocyclisme (FIM) to provide a competitive platform for the world’s best motorcycle racers." name="description">
        <meta property="og:url" content="https://onlinexzone.com/detail/auto/A-Journey-of-Speed--Exploring-the-World-of-MotoGP/">
        <meta content="https://onlinexzone.com/assets/news/category/auto/1.webp" property="og:image">
        <link rel="canonical" href="https://onlinexzone.com/detail/auto/A-Journey-of-Speed--Exploring-the-World-of-MotoGP/">
        <meta name="viewport"
            content="width=device-width,initial-scale=1,user-scalable=yes">
        <link rel="icon" type="image/png" href="https://onlinexzone.com/assets/favicon.ico">
        <!-- Google Tag Manager -->
        <script>(function (w, d, s, l, i) {
            w[l] = w[l] || []; w[l].push({
                'gtm.start':
                    new Date().getTime(), event: 'gtm.js'
            }); var f = d.getElementsByTagName(s)[0],
                j = d.createElement(s), dl = l != 'dataLayer' ? '&l=' + l : ''; j.async = true; j.src =
                    'https://www.googletagmanager.com/gtm.js?id=' + i + dl; f.parentNode.insertBefore(j, f);
        })(window, document, 'script', 'dataLayer', 'GTM-WQKS4BKW');</script>
        <!-- End Google Tag Manager -->
        <meta name="msapplication-TileColor" content="#808080">
        <meta name="msapplication-config"
            content="/wp-content/uploads/ico/browserconfig.xml">
        <meta name="theme-color" content="#808080">

        <link rel="stylesheet" href="https://onlinexzone.com/detail/index.css">
        <!-- <title> onlinexzone.com</title> -->
        <meta name='robots' content='max-image-preview:large' />
        <meta property='og:type' content='article'>
        <meta property='og:title' content='a nice news station'>

        <meta property='og:locale' content='en_US'>
        <meta property='og:site_name' content='onlinexzone.com'>
        <!-- 这里放在线图 -->
        <meta property='og:image:width' content='868'>
        <meta property='og:image:height' content='1300'>
        <meta property='author' content='Ryan Pratt'>
        <meta property='twitter:label1' content='Written By'>
        <meta property='twitter:data1' content='Ryan Pratt'>
        <meta property='twitter:label2' content='Est. reading time'>

        <link rel="stylesheet" href="https://onlinexzone.com/category/public/public.css">
        <link rel="canonical" href="https://onlinexzone.com/" />
        <!-- 换在线logo -->
        <meta name="msapplication-TileImage"
            content="https://onlinexzone.com/assets/logo.png" />
        <script async
            src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-6907038225839490"
            crossorigin="anonymous"></script>
    </head>

    <body
        class="bi-pagetype-single post-template-default single single-post postid-22807 single-format-standard unified-pagetype-single unified-template-single unified-lang-en_US">
        <!-- noscript -->
        <noscript>
            <div class="no-js__notice">
                This website works best with JavaScript enabled. </div>
        </noscript>
        <!-- <a id="page-top" tabindex='-1'></a>
    <a class="skip-main" href="#main">Skip to main content</a> -->

         <div class="popout">
        <a class="popout__logo" href="https://onlinexzone.com/" aria-label="Go to onlinexZone Homepage">
            <img alt="onlinexZone logo" src="https://onlinexzone.com/assets/logo.png" class="popout__logo-image" width="160"
                height="30.06" />
        </a>

        <button class="popout__close" type="button" aria-label="Close Menu">

        </button>


        <nav class="popout-nav" aria-label="Pop Out Site Menu">
            <ul id="menu-popout-menu-english" class="popout-nav__list">
                <li id="menu-item-11654"
                    class="menu-item menu-item-type-taxonomy menu-item-object-category popout-nav__item menu-item-11654">
                    <a class="popout-nav__link" target="_parent"
                        href="https://onlinexzone.com/category/health/">Health</a>
                </li>
                <li id="menu-item-11659"
                    class="menu-item menu-item-type-taxonomy menu-item-object-category popout-nav__item menu-item-11659">
                    <a class="popout-nav__link" target="_parent"
                        href="https://onlinexzone.com/category/travel/">Travel</a>
                </li>
                <li id="menu-item-11657"
                    class="menu-item menu-item-type-taxonomy menu-item-object-category popout-nav__item menu-item-11657">
                    <a class="popout-nav__link" target="_parent"
                        href="https://onlinexzone.com/category/auto/">Auto</a>
                </li>
                <li id="menu-item-11655"
                    class="menu-item menu-item-type-taxonomy menu-item-object-category popout-nav__item menu-item-11655">
                    <a class="popout-nav__link" target="_parent"
                        href="https://onlinexzone.com/category/finance/">Finance</a>
                </li>
                <li id="menu-item-11656"
                    class="menu-item menu-item-type-taxonomy menu-item-object-category popout-nav__item menu-item-11656">
                    <a class="popout-nav__link" target="_parent"
                        href="https://onlinexzone.com/category/tech/">Tech</a>
                </li>
            </ul>
            <nav class="popout-secondary-nav" aria-label="Pop Out Privacy Menu" style="padding: 0;">
                <ul id="menu-popout-privacy-menu-english" class="popout-secondary-nav__list cmp__menu">
                    <li id="menu-item-11660"
                        class="menu-item menu-item-type-custom menu-item-object-custom popout-secondary-nav__item menu-item-11660">
                        <a class="popout-nav__link" target="_blank"
                            href="https://docs.google.com/document/d/17ydjwONuPcDChPCnV-DVzH6hqOB58B8TwUffEQvUYd4/pub">Privacy
                            Policy</a>
                    </li>

                </ul>
            </nav>
            <!-- <iframe src="https://onlinexzone.com/components/SidebarNav.html" style="height: 80vh;" frameborder="0" width="400px"></iframe> -->
        </nav>

    </div>
    <div class="overlay"></div>
    <header class="header">
        <!-- logo -->

        <div class="logoBox">
            <a class="logo" href="https://onlinexzone.com" target="_parent" aria-label="Go to onlinexzone.com Homepage">
                <img alt="onlinexzone.com logo" src="https://onlinexzone.com/assets/logo.png" class="logo__image" />
            </a>
            <button class="hamburger" type="button" aria-label="Show Menu"><span
                    class="hamburger__span"></span></button>
        </div>

        <!-- mobile menu toggle -->



        <!-- primary menu -->
        <nav class="nav" aria-label="Site Menu">
            <ul id="menu-primary-menu-english" class="nav__list">
                <li id="menu-item-125"
                    class="menu-item menu-item-type-taxonomy menu-item-object-category nav__item menu-item-125"><a
                        class="nav__link" target="_parent"
                        href="https://onlinexzone.com/category/health/">Health</a></li>
                <li id="menu-item-128"
                    class="menu-item menu-item-type-taxonomy menu-item-object-category nav__item menu-item-128"><a
                        class="nav__link" target="_parent"
                        href="https://onlinexzone.com/category/travel/">Travel</a></li>
                <li id="menu-item-123"
                    class="menu-item menu-item-type-taxonomy menu-item-object-category nav__item menu-item-123"><a
                        class="nav__link" target="_parent"
                        href="https://onlinexzone.com/category/auto/">Auto</a></li>
                <li id="menu-item-124"
                    class="menu-item menu-item-type-taxonomy menu-item-object-category nav__item menu-item-124"><a
                        class="nav__link" target="_parent"
                        href="https://onlinexzone.com/category/finance/">Finance</a>
                </li>
                <li id="menu-item-127"
                    class="menu-item menu-item-type-taxonomy menu-item-object-category nav__item menu-item-127"><a
                        class="nav__link" target="_parent"
                        href="https://onlinexzone.com/category/tech/">Tech</a></li>
            </ul>
        </nav>
    </header>

        <main class="main main--single-post main--featuredimage-none" id="main">
            <nav class="breadcrumb" aria-label="breadcrumb">
                <ol class="breadcrumb__list"><li class="breadcrumb__item"><a class="breadcrumb__link"
                        href="https://onlinexzone.com/">Home</a>
                </li>
                <li class="breadcrumb__item"><a class="breadcrumb__link" href="https://onlinexzone.com/category/auto/">Auto</a></li>
                </ol>
            </nav>
            <h1 class="post-title" id="h2-0">A Journey of Speed: Exploring the World of MotoGP </h1>

            <p class="post-read-time">9 minutes read </p>

            <div class="author-info">
                <div class="author-info__avatar" style>
                    <img width="150" height="150"
                        src="https://onlinexzone.com/assets/news/earth.png"
                        class="author-info__avatar-image" alt
                        decoding="async"
                        srcset="https://onlinexzone.com/assets/news/earth.png 400w"
                        sizes="(max-width: 150px) 100vw, 150px" />
                </div>

                <p class="author-info__author" data-post-date="Nov 21, 2023"
                    data-updated-date="Nov 21, 2023">By <span
                        class="author-info__author-name">
                         Harper Garcia
                        </span>
                </p>

            </div>

            <nav class="toc toc--sticky">
                <div class="toc__container">
                    <h2 class="toc__heading">Table of Contents</h2>
                    <button class="toc__toggle" type="button"
                        aria-label="Close Table of Contents">
                        <svg class="toc__toggle-icon" t="1725620702467"
                            class="icon" viewBox="0 0 1024 1024" version="1.1"
                            xmlns="http://www.w3.org/2000/svg" p-id="5202"
                            width="16" height="16"><path
                                d="M103.36376499999994 666.3830590000001L485.707294 284.039529a65.445647 65.445647 0 0 1 22.467765-7.105427357601002e-15L890.5185880000001 666.383059c1.2950590000000006 2.9515289999999994 1.3552940000000042 11.264 5.329070518200751e-15 22.497882000000004l-44.995763999999994 44.96564700000001c-11.745881999999998 1.295059000000002-20.208940999999996 1.3552940000000042-22.467765 7.105427357601002e-15l-314.88000000000005-314.84988199999987a20.178824 20.178824 0 0 0-22.467765 7.105427357601002e-15L170.82729400000022 733.8465880000001c-2.198587999999999 1.2649410000000008-10.661647 1.385412000000004-22.497882000000004 5.329070518200751e-15l-44.96564700000002-44.96564699999998c-1.2950590000000028-11.143528999999997-1.3552940000000078-19.516235-5.329070518200751e-15-22.497882000000004z"
                                p-id="5203" fill="#FF7723"></path></svg>
                    </button>
                    <ul class="toc__list"> <li class="toc__item toc__item--bulleted">
                                  <a class="toc__link" href="#h2-0">A Journey of Speed: Exploring the World of MotoGP</a>
                              </li> <li class="toc__item toc__item--bulleted">
                                  <a class="toc__link" href="#h2-1">Season Structure</a>
                              </li> <li class="toc__item toc__item--bulleted">
                                  <a class="toc__link" href="#h2-2">Riders and Teams</a>
                              </li> <li class="toc__item toc__item--bulleted">
                                  <a class="toc__link" href="#h2-3">Technology and Innovation</a>
                              </li> <li class="toc__item toc__item--bulleted">
                                  <a class="toc__link" href="#h2-4">Spectator Experience</a>
                              </li> <li class="toc__item toc__item--bulleted">
                                  <a class="toc__link" href="#h2-5">Future Prospects</a>
                              </li></ul>
                </div>
            </nav>
            <article class="content" id="content"><p class="h2-0">MotoGP, as the world’s premier motorcycle racing event, traces its history back to 1949. It was established by the Fédération Internationale de Motocyclisme (FIM) to provide a competitive platform for the world’s best motorcycle racers.</p><img decoding="async"
                class="cdn-ih size-large wp-image-22810" width="1200" height="530"
                srcset="https://onlinexzone.com/assets/news/category/auto/1.webp"
                sizes="(max-width:576px) 30vw, (max-width:992px) 50vw, (max-width:1400px) 100vw, 900w"
                data-url="https://onlinexzone.com/assets/news/category/auto/1.webp" data-attr="https://onlinexzone.com/assets/news/category/auto/1.webp"
                src="https://onlinexzone.com/assets/news/category/auto/1.webp" loading="lazy" alt="A Journey of Speed: Exploring the World of MotoGP"><h2 class="bulleted" id="h2-1">Season Structure</h2>
                    <p>Each MotoGP season typically starts in March and runs until November. The season includes multiple races, each held on different tracks around the world. The results of each race contribute to the overall standings for both riders and teams, ultimately determining the annual champions.</p><h2 class="bulleted" id="h2-2">Riders and Teams</h2>
                    <p>MotoGP attracts the top riders and teams globally. Renowned riders like Valentino Rossi, Marc Márquez, and Fabio Quartararo not only showcase exceptional skills on the track but have also become icons of the sport.</p><h2 class="bulleted" id="h2-3">Technology and Innovation</h2>
                    <p>MotoGP is not just a sporting event but also a frontier for technological innovation. Teams continuously develop and enhance the performance of their motorcycles, from engines to aerodynamics, with every detail meticulously designed to gain an edge on the track.</p><h2 class="bulleted" id="h2-4">Spectator Experience</h2>
                    <p>Watching a MotoGP race is a unique experience. The high-speed motorcycles, intense competition, and the riders’ superb skills make for an exhilarating spectacle. Whether live at the venue or through television broadcasts, MotoGP offers an unparalleled visual feast for fans.</p><h2 class="bulleted" id="h2-5">Future Prospects</h2>
                    <p>With ongoing technological advancements and the growing popularity of motorcycle racing worldwide, the future of MotoGP is full of possibilities. The rise of new generation riders and the application of new technologies will continue to drive the sport forward.</p>
            </article>
            <aside class="sidebar sidebar--single-post">
                <!-- 文章右侧top1展示广告 -->

                <!-- <div class="sidebar__block sidebar__ad-space sidebar__ad-space--dfp-desktop-sidebar-top hidden-on-mobile">
                <div class="hidden-on-mobile" id="dfp-desktop-sidebar-top">
                    <script async
                        src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-6907038225839490"
                        crossorigin="anonymous"></script>
                    <ins class="adsbygoogle" style="display:block" data-ad-client="ca-pub-6907038225839490"
                        data-ad-slot="2838871277" data-ad-format="auto" data-full-width-responsive="true"></ins>
                    <script>
                        (adsbygoogle = window.adsbygoogle || []).push({});
                    </script>
                </div>
            </div> -->
                <div class="sidebar__block">
                    <h2 class="section__heading section__heading--variation-3">
                        Related Posts </h2>
                    <div class="post-module post-module--variation-3">
<article class="post-module__item">
                         <a class="post-module__thumb-link" href="https://onlinexzone.com/detail/auto/Exploring-Different-Types-of-Power-Hearts/">
                             <span class="screen-reader-text">Exploring Different Types of Power Hearts</span>
                             <img loading='lazy' src=https://onlinexzone.com/assets/news/category/auto/4.webp?image_process=quality,q_5'
                                 data-attr=https://onlinexzone.com/assets/news/category/auto/4.webp?image_process=quality,q_5'
                                 data-url=https://onlinexzone.com/assets/news/category/auto/4.webp?image_process=quality,q_5'
                                 sizes='(max-width:576px) 30vw, (max-width:992px) 50vw, (max-width:1400px) 100vw, 900w'
                                 width="600" height="315" data-src="https://onlinexzone.com/assets/news/category/auto/4.webp?image_process=quality,q_5"
                                 class="cdn-ih post-module__thumb wp-post-image" alt="" decoding="async"
                                 srcset="https://onlinexzone.com/assets/news/category/auto/4.webp?image_process=quality,q_5"
                                 sizes="(max-width: 600px) 100vw, 600px" /><noscript><img width="600" height="315"
                                     src="https://onlinexzone.com/assets/news/category/auto/4.webp?image_process=quality,q_5"
                                     class="post-module__thumb wp-post-image" alt="" decoding="async"
                                     srcset="https://onlinexzone.com/assets/news/category/auto/4.webp?image_process=quality,q_5"
                                     sizes="(max-width: 600px) 100vw, 600px" /></noscript> </a>
                         <a class="post-module__category-link" href="https://onlinexzone.com/detail/auto/Exploring-Different-Types-of-Power-Hearts/"
                             aria-label="More from Health">
                             <span class="post-module__category">auto</span>
                         </a>
                         <h3 class="post-module__heading">
                             <a class="post-module__heading-link" href="https://onlinexzone.com/detail/auto/Exploring-Different-Types-of-Power-Hearts/">Exploring Different Types of Power Hearts</a>
                         </h3>
                         <div class="post-module__description">
                             <p>Exploring Different Types of Power Hearts [&hellip;]</p>
                         </div>
                         <a class="post-module__button"
                             href="https://onlinexzone.com/detail/auto/Exploring-Different-Types-of-Power-Hearts/">Read More<span
                                 class="screen-reader-text"> about What You Need To Know About Juicing</span></a>
                         <p class="post-module__read-time">4 minute read</p>
                     </article><article class="post-module__item">
                         <a class="post-module__thumb-link" href="https://onlinexzone.com/detail/auto/Current-Status-and-Future-of-the-Automotive-Industry/">
                             <span class="screen-reader-text">Current Status and Future of the Automotive Industry</span>
                             <img loading='lazy' src=https://onlinexzone.com/assets/news/category/auto/3.webp?image_process=quality,q_5'
                                 data-attr=https://onlinexzone.com/assets/news/category/auto/3.webp?image_process=quality,q_5'
                                 data-url=https://onlinexzone.com/assets/news/category/auto/3.webp?image_process=quality,q_5'
                                 sizes='(max-width:576px) 30vw, (max-width:992px) 50vw, (max-width:1400px) 100vw, 900w'
                                 width="600" height="315" data-src="https://onlinexzone.com/assets/news/category/auto/3.webp?image_process=quality,q_5"
                                 class="cdn-ih post-module__thumb wp-post-image" alt="" decoding="async"
                                 srcset="https://onlinexzone.com/assets/news/category/auto/3.webp?image_process=quality,q_5"
                                 sizes="(max-width: 600px) 100vw, 600px" /><noscript><img width="600" height="315"
                                     src="https://onlinexzone.com/assets/news/category/auto/3.webp?image_process=quality,q_5"
                                     class="post-module__thumb wp-post-image" alt="" decoding="async"
                                     srcset="https://onlinexzone.com/assets/news/category/auto/3.webp?image_process=quality,q_5"
                                     sizes="(max-width: 600px) 100vw, 600px" /></noscript> </a>
                         <a class="post-module__category-link" href="https://onlinexzone.com/detail/auto/Current-Status-and-Future-of-the-Automotive-Industry/"
                             aria-label="More from Health">
                             <span class="post-module__category">auto</span>
                         </a>
                         <h3 class="post-module__heading">
                             <a class="post-module__heading-link" href="https://onlinexzone.com/detail/auto/Current-Status-and-Future-of-the-Automotive-Industry/">Current Status and Future of the Automotive Industry</a>
                         </h3>
                         <div class="post-module__description">
                             <p>Current Status and Future of the Automotive Industry [&hellip;]</p>
                         </div>
                         <a class="post-module__button"
                             href="https://onlinexzone.com/detail/auto/Current-Status-and-Future-of-the-Automotive-Industry/">Read More<span
                                 class="screen-reader-text"> about What You Need To Know About Juicing</span></a>
                         <p class="post-module__read-time">4 minute read</p>
                     </article><article class="post-module__item">
                         <a class="post-module__thumb-link" href="https://onlinexzone.com/detail/auto/Reasons-for-Seniors-Prefer-Hyundai-IONIQ-5-in-2024/">
                             <span class="screen-reader-text">Reasons for Seniors Prefer Hyundai IONIQ 5 in 2024</span>
                             <img loading='lazy' src=https://onlinexzone.com/assets/news/category/auto/12.webp?image_process=quality,q_5'
                                 data-attr=https://onlinexzone.com/assets/news/category/auto/12.webp?image_process=quality,q_5'
                                 data-url=https://onlinexzone.com/assets/news/category/auto/12.webp?image_process=quality,q_5'
                                 sizes='(max-width:576px) 30vw, (max-width:992px) 50vw, (max-width:1400px) 100vw, 900w'
                                 width="600" height="315" data-src="https://onlinexzone.com/assets/news/category/auto/12.webp?image_process=quality,q_5"
                                 class="cdn-ih post-module__thumb wp-post-image" alt="" decoding="async"
                                 srcset="https://onlinexzone.com/assets/news/category/auto/12.webp?image_process=quality,q_5"
                                 sizes="(max-width: 600px) 100vw, 600px" /><noscript><img width="600" height="315"
                                     src="https://onlinexzone.com/assets/news/category/auto/12.webp?image_process=quality,q_5"
                                     class="post-module__thumb wp-post-image" alt="" decoding="async"
                                     srcset="https://onlinexzone.com/assets/news/category/auto/12.webp?image_process=quality,q_5"
                                     sizes="(max-width: 600px) 100vw, 600px" /></noscript> </a>
                         <a class="post-module__category-link" href="https://onlinexzone.com/detail/auto/Reasons-for-Seniors-Prefer-Hyundai-IONIQ-5-in-2024/"
                             aria-label="More from Health">
                             <span class="post-module__category">auto</span>
                         </a>
                         <h3 class="post-module__heading">
                             <a class="post-module__heading-link" href="https://onlinexzone.com/detail/auto/Reasons-for-Seniors-Prefer-Hyundai-IONIQ-5-in-2024/">Reasons for Seniors Prefer Hyundai IONIQ 5 in 2024</a>
                         </h3>
                         <div class="post-module__description">
                             <p>Reasons for Seniors Prefer Hyundai IONIQ 5 in 2024 [&hellip;]</p>
                         </div>
                         <a class="post-module__button"
                             href="https://onlinexzone.com/detail/auto/Reasons-for-Seniors-Prefer-Hyundai-IONIQ-5-in-2024/">Read More<span
                                 class="screen-reader-text"> about What You Need To Know About Juicing</span></a>
                         <p class="post-module__read-time">4 minute read</p>
                     </article></div>
                </div>
                <!-- 文章右侧top2下方广告 -->
                <!-- <div class="sidebar__block sidebar__ad-space hidden-on-mobile" id="dfp-desktop-sidebar-mid-1">
                <script async
                    src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-6907038225839490"
                    crossorigin="anonymous"></script>
                <ins class="adsbygoogle" style="display:block" data-ad-client="ca-pub-6907038225839490"
                    data-ad-slot="3814738147" data-ad-format="auto" data-full-width-responsive="true"></ins>
                <script>
                    (adsbygoogle = window.adsbygoogle || []).push({});
                </script>
            </div> -->

            </aside>
        </main>
   
        <!-- 底部版权 -->
        
    </body>
    <!-- Google Tag Manager (noscript) -->
    <noscript><iframe
            src="https://www.googletagmanager.com/ns.html?id=GTM-WQKS4BKW"
            height="0" width="0"
            style="display:none;visibility:hidden"></iframe></noscript>
    <!-- End Google Tag Manager (noscript) -->


    <script src="https://onlinexzone.com/utils/jquery.js"></script>
    <script type="module">
    import {getAllUrlParams, addHeadElment, newsTypeObj} from '../../../utils/common.js'
    window.onload = function () {
       
    }

</script>

    <script>
    // 隐藏侧边导航栏
    const popout = document.querySelector('.popout')
    // 关闭按钮
    const popout__close = document.querySelector('.popout__close')
    // 遮罩
    const overlay = document.querySelector('.overlay')
    const hamburger = document.querySelector('.hamburger')

    // 手机端导航栏下拉按钮
    const toc__toggle = document.querySelector('.toc__toggle')
    const toc__toggle_close = document.querySelector('.toc__toggle_close')

    const activeSvg = document.querySelector('.toc__toggle-icon')
    const navBox = document.querySelector('.toc--sticky')
    
    const toc__list = document.querySelector('.toc__list')
    
    let activeFlag = true
    toc__toggle.addEventListener('click',function (event) {
        if(activeFlag){
            navBox.classList.add("toc--active");
            activeSvg.classList.add("up")
        }else{
            navBox.classList.remove("toc--active");
            activeSvg.classList.remove("up")
        }
        activeFlag = !activeFlag
        
    })
    toc__list.addEventListener('click',function () {
        navBox.classList.remove("toc--active");
        activeSvg.classList.remove("up")
    })
   

    hamburger.addEventListener('click', function () {
        blockAside();
    })
    popout__close.addEventListener('click', function () {
        // 不知道为啥添加上反而没效果，仅限于3级页面没效果，2级和1级有
        popout.classList.remove("popout--visible");
        overlay.classList.remove("overlay--visible")
        popout__close.classList.remove("popout__close--active")

    })
    function blockAside() {
        popout.classList.add("popout--transition", "popout--visible");
        overlay.classList.add("overlay--visible")
        popout__close.classList.add("popout__close--active")
        console.log('我是父页面的方法')
    }
    // 监听主题变化做的事
    let mqList = window.matchMedia('(prefers-color-scheme: dark)');
    const logoImg = document.querySelector('.logo__image')
    function switchColor() {
        if (mqList.matches) {
            // logoImg.src = logoImg.src.split('.png')[0] + '_dark' + '.png'
        }
    }
    switchColor()

    mqList.addEventListener('change', (event) => {
        // is dark mode
        if (event.matches) {
            switchColor()
        } else {
            // not dark mode
        }
    });

</script>

</html>
       